﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OrionTest.Controllers
{
    class MockDataContext : Orion.Models.INewsArticleRepository
    {
        public IQueryable<Orion.Models.NewsArticle> getNewsArticles()
        {
            List<Orion.Models.NewsArticle> newsArticles = new List<Orion.Models.NewsArticle>();
            
            newsArticles.Add( new Orion.Models.NewsArticle { ID=1, ContentType="Article",
                                                            Title="Smuu", TextBody="Smuuuuuuuuuu",
                                                            ContentDate=new DateTime(2011,11,11), Author="Pétur",
                                                            Picture="No pic", Category="Börn",
                                                            Counter=22 } );
            throw new NotImplementedException();
        }
    }
}
